//
//  PlayerController.h
//  Quiz
//
//  Created by AnhLH-Oriolus on 28/07/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FMDatabase.h"
#import "FontLabel.h"

@interface PlayerController : UIViewController <UITableViewDelegate, UITableViewDataSource>{
	UITableView *_tableView;
	
	NSMutableArray *arrPlayer;
	int _indexMenuSelect;
	bool isEditing;
	NSString *currPlayer;
	
	FMDatabase* db;
}
-(BOOL)openDb;
-(void)loadData;
-(void)closeDb;


-(void)addNewPlayerWithName:(NSString *)playerName;
-(void)addPlayer;
-(void)editPlayer;
@end
